package com.xianyun.site.support.common.exception;

/**
 * @author mac_zyj
 *Sms 模块错误码
 */
public enum SmsErrorCode{
    /**业务异常*/
    SYS_MQ_BLOCK("SYS_MQ_BLOCK","Mq消息阻塞"),
    BIZ_MQ_OVERDUE("BIZ_MQ_OVERDUE","消息过期"),
    BIZ_SMS_ERROR("BIZ_SMS_ERROR", "SMS业务逻辑错误"),
    SMS_ONE_MIN_NOT_REPEAT_ERROR("B_SMS_OneMinNotRepeat", "短信一分钟内重复发送错误"),
    SMS_SEND_TOO_MUCH_ERROR("B_SMS_sendTooMuch", "短信发送过多");

    private String errCode;
    private String errDesc;

    SmsErrorCode(String errCode, String errDesc) {
        this.errCode = errCode;
        this.errDesc = errDesc;
    }

    public String getErrCode() {
        return this.errCode;
    }

    public String getErrDesc() {
        return this.errDesc;
    }
}
